#include<bits/stdc++.h>
using namespace std;
mt19937_64 rnd(time(0));
int main()
{
    freopen("stamp.in","r",stdin);
    freopen("stamp.out","w",stdout);
    cout<<rnd()%10<<"\n";
    return 0;
}